package com.TheyChat.service;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RequestMapping("/")
@RestController
@SpringBootApplication
public class TheyChatApplication {

	public static void main(String[] args) {
		SpringApplication.run(TheyChatApplication.class, args);
	}

	@GetMapping("/")
	public String hello(){
		return "hello They Chat";
	}
}
